import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
// import { createStore } from 'vuex'; // 移除未使用的vuex依赖
import { createPinia } from 'pinia';
import Vant from 'vant';
import 'vant/lib/index.css'; // 引入 Vant 样式

const app = createApp(App);
app.use(router);
app.use(createPinia());

// 注册所有 Vant 组件
app.use(Vant);
// app.use(vant.Lazyload);

app.mount('#app');
